package com.slz3.business.module.configManagement.conFeedback.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.slz3.business.frame.enums.AuditFlag;
import com.slz3.business.module.configManagement.conVersion.domain.OperatingSystemEnum;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;
import java.util.UUID;

@Data
public class ConFeedbackCondition extends ConFeedback {

    public static final String CREATE_TIME_OF_PATTERN = "yyyy-MM-dd HH:mm";

    private List<UUID> uuidList;

    private List<AuditFlag> serAuditList;

    private List<OperatingSystemEnum> serOperatingSystemList;

    @JsonFormat(timezone = "GMT+8", pattern = CREATE_TIME_OF_PATTERN)
    private LocalDateTime createTimeOUTSET;

    @JsonFormat(timezone = "GMT+8", pattern = CREATE_TIME_OF_PATTERN)
    private LocalDateTime createTimeFINISH;

    @JsonFormat(timezone = "GMT+8", pattern = CREATE_TIME_OF_PATTERN)
    private LocalDateTime lastModifyTimeOUTSET;

    @JsonFormat(timezone = "GMT+8", pattern = CREATE_TIME_OF_PATTERN)
    private LocalDateTime lastModifyTimeFINISH;

}
